package cn.yuan.xiaoyu.wangmodule.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import butterknife.OnClick;
import cn.yuan.xiaoyu.R;
import cn.yuan.xiaoyu.commonmodule.fragment.BaseFragment;
import cn.yuan.xiaoyu.wangmodule.activity.MyInfoActivity;

/**
 * Created by yukuoyuan on 2017/3/2.
 * 这是一个旺旺的我的界面
 */

public class WangWangMeFragment extends BaseFragment {

    private Intent intent;

    @Override
    public void initdata(Bundle arguments) {

    }

    @Override
    public int getContentLayout() {
        return R.layout.fragment_wangwang_me;
    }

    @Override
    protected void bindPresenter() {

    }

    @Override
    protected void initToolbar() {

    }

    @OnClick({R.id.rl_main_me_info, R.id.rl_main_me_gallary, R.id.rl_main_me_save, R.id.rl_main_me_wallet, R.id.rl_main_me_cards, R.id.rl_main_me_setting})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.rl_main_me_info:
                intent = new Intent(getActivity(), MyInfoActivity.class);
                startActivity(intent);
                break;
            case R.id.rl_main_me_gallary:
                break;
            case R.id.rl_main_me_save:
                break;
            case R.id.rl_main_me_wallet:
                break;
            case R.id.rl_main_me_cards:
                break;
            case R.id.rl_main_me_setting:
                break;
        }
    }
}
